package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基本信息对象 soil_basic
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public class SoilBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 样本id */
    private Long id;

    /** 统一编号 */
    @Excel(name = "统一编号")
    private String serialno;

    /** 土地利用方式 */
    @Excel(name = "土地利用方式")
    private String usetype;

    /** 类型 */
    @Excel(name = "类型")
    private String kind;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 海拔(米) */
    @Excel(name = "海拔(米)")
    private BigDecimal altitude;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialno(String serialno) 
    {
        this.serialno = serialno;
    }

    public String getSerialno() 
    {
        return serialno;
    }
    public void setUsetype(String usetype) 
    {
        this.usetype = usetype;
    }

    public String getUsetype() 
    {
        return usetype;
    }
    public void setKind(String kind) 
    {
        this.kind = kind;
    }

    public String getKind() 
    {
        return kind;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setAltitude(BigDecimal altitude) 
    {
        this.altitude = altitude;
    }

    public BigDecimal getAltitude() 
    {
        return altitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialno", getSerialno())
            .append("usetype", getUsetype())
            .append("kind", getKind())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("altitude", getAltitude())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
